package cate.game.activity.moonfight;

import cate.common.table.d.GDFunc;
import cate.game.activity.base.core.Activity;
import cate.game.activity.base.core.ActivityHandler;

@Activity(relatedFuncIds = {GDFunc.MOON_FIGHT})
public class MoonFightActivityHandler extends ActivityHandler<MoonFightGlobalData, MoonFightActivity> {

    @Override
    public String getName() {
        return "月下比武";
    }

    @Override
    public MoonFightGlobalData buildGlobal() {
        return new MoonFightGlobalData();
    }

    @Override
    public MoonFightActivity buildSingle() {
        return new MoonFightActivity();
    }

    @Override
    public void onActOpen() {
        getGlobalData().onActOpen(game);
    }

    @Override
    public void onActClose() {

    }
}
